package com.ruoyi.project.museum.exhibit.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 文物管理对象 mus_exhibit
 * 
 * @author ruoyi
 * @date 2021-03-10
 */
public class Exhibit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 文物名 */
    @Excel(name = "文物名")
    private String name;

    /** 文物类型外键 */
    @Excel(name = "文物类型外键")
    private Integer typeId;

    /** 文物类型 */
    @Excel(name = "文物类型")
    private String type;

    /** 3D链接 */
    @Excel(name = "3D链接")
    private String url;

    /** 所属博物馆外键 */
    @Excel(name = "所属博物馆外键")
    private Long museumId;

    /** 所属博物馆 */
    @Excel(name = "所属博物馆")
    private String museum;

    /** 是否展示 */
    @Excel(name = "是否展示")
    private String isShow;

    /** 是否重点文物 */
    @Excel(name = "是否重点文物")
    private String isImportant;

    /** 图片 */
    @Excel(name = "图片")
    private String img;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setTypeId(Integer typeId)
    {
        this.typeId = typeId;
    }

    public Integer getTypeId()
    {
        return typeId;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getUrl()
    {
        return url;
    }
    public void setMuseumId(Long museumId)
    {
        this.museumId = museumId;
    }

    public Long getMuseumId()
    {
        return museumId;
    }
    public void setMuseum(String museum)
    {
        this.museum = museum;
    }

    public String getMuseum()
    {
        return museum;
    }
    public void setIsShow(String isShow)
    {
        this.isShow = isShow;
    }

    public String getIsShow()
    {
        return isShow;
    }
    public void setIsImportant(String isImportant)
    {
        this.isImportant = isImportant;
    }

    public String getIsImportant()
    {
        return isImportant;
    }
    public void setImg(String img)
    {
        this.img = img;
    }

    public String getImg()
    {
        return img;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("typeId", getTypeId())
            .append("type", getType())
            .append("url", getUrl())
            .append("museumId", getMuseumId())
            .append("museum", getMuseum())
            .append("remark", getRemark())
            .append("isShow", getIsShow())
            .append("isImportant", getIsImportant())
            .append("img", getImg())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
